﻿@using Phatent.Model.Pages
@model Phatent.Model.Pages.PageModel
@{
    ViewBag.Title = "Article";
    Layout = "~/Areas/Home/Views/Shared/_LeftSubNavLayout.cshtml";
}

<div class="t1">
    @if (Phatent.Website.WebContext.Language == "zh")
    {
        @(((CaseModel)ViewBag.Case).CaseName)
        <span>您当前位置：首页 > @(((CaseModel)ViewBag.Case).ParentCase.CaseName) > @(((CaseModel)ViewBag.Case).CaseName)</span>        
    }else{
        @(((CaseModel)ViewBag.Case).EName)
        <span>Your Location：Home > @(((CaseModel)ViewBag.Case).ParentCase.EName) > @(((CaseModel)ViewBag.Case).EName)</span>
    }
</div>
<div class="article">
    @if (Model.PageType == 1)
    {
        if (Phatent.Website.WebContext.Language == "zh")
        {
            <h3>@Model.Title</h3>
        }else{
            <h3>@Model.ETitle</h3>
        }
        <div class="time">@Model.CreatedOn.ToString("yyyy-MM-dd")</div>        
    }
    <div class="mc">@Html.Raw(Phatent.Website.WebContext.Language=="zh"? Model.Description:Model.EDescription)</div>
</div>